/********************************************************************************
** Form generated from reading UI file 'CalculatorDialog.ui'
**
** Created by: Qt User Interface Compiler version 6.5.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CALCULATORDIALOG_H
#define UI_CALCULATORDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>

QT_BEGIN_NAMESPACE

class Ui_CalcDialog
{
public:
    QHBoxLayout *horizontalLayout;
    QLineEdit *m_editX;
    QLabel *m_label;
    QLineEdit *m_editY;
    QPushButton *m_button;
    QLineEdit *m_editZ;

    // 为什么需要一个QDialog指针，意思就是要把该类上方的控件都关联到父窗口上面
    // 下面为每个控件分配内存空间初始化就需要一个关联的父窗口指针
    void setupUi(QDialog *CalcDialog)
    {
        if (CalcDialog->objectName().isEmpty())
            CalcDialog->setObjectName("CalcDialog");
        CalcDialog->resize(748, 315);
        QFont font;
        font.setPointSize(15);
        font.setBold(true);
        CalcDialog->setFont(font);
        horizontalLayout = new QHBoxLayout(CalcDialog);
        horizontalLayout->setObjectName("horizontalLayout");
        m_editX = new QLineEdit(CalcDialog);
        m_editX->setObjectName("m_editX");
        m_editX->setAlignment(Qt::AlignCenter);

        horizontalLayout->addWidget(m_editX);

        m_label = new QLabel(CalcDialog);
        m_label->setObjectName("m_label");

        horizontalLayout->addWidget(m_label);

        m_editY = new QLineEdit(CalcDialog);
        m_editY->setObjectName("m_editY");
        m_editY->setAlignment(Qt::AlignCenter);

        horizontalLayout->addWidget(m_editY);

        m_button = new QPushButton(CalcDialog);
        m_button->setObjectName("m_button");
        m_button->setEnabled(false);

        horizontalLayout->addWidget(m_button);

        m_editZ = new QLineEdit(CalcDialog);
        m_editZ->setObjectName("m_editZ");
        m_editZ->setAlignment(Qt::AlignCenter);
        m_editZ->setReadOnly(true);

        horizontalLayout->addWidget(m_editZ);


        retranslateUi(CalcDialog);

        QMetaObject::connectSlotsByName(CalcDialog);
    } // setupUi

    void retranslateUi(QDialog *CalcDialog)
    {
        CalcDialog->setWindowTitle(QCoreApplication::translate("CalcDialog", "\350\256\241\347\256\227\345\231\250", nullptr));
        m_label->setText(QCoreApplication::translate("CalcDialog", "+", nullptr));
        m_button->setText(QCoreApplication::translate("CalcDialog", "=", nullptr));
    } // retranslateUi

};

namespace Ui {
    // 这一步相当于类型的重命名而已
    class CalcDialog: public Ui_CalcDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CALCULATORDIALOG_H
